package com.enroll.common;



public class App {

	public static void main(String[] args) {
//		ApplicationContext appContext = new ClassPathXmlApplicationContext(
//				"spring/config/BeanLocations.xml");

	/*	StudentService studentService = (StudentService) appContext.getBean("studentService");
	//	SubjectService subjectService = (SubjectService) appContext.getBean("subjectService");
		
		Student student = new Student();
		student.setFirstname("BBB");
		student.setLastname("BBB");
	
		Set<Subject> subjects = new HashSet<Subject>();
		Subject s1 = new Subject();
		s1.setName("Math");
		s1.setUnit(3);
		Subject s2 = new Subject();
		s2.setName("Math2");
		s2.setUnit(3);
		subjects.add(s1);
		subjects.add(s2);
		student.setSubjects(subjects);
		studentService.save(student);*/
		
		
		

		System.out.println("-----Done---------");
	}

}
